<?php echo $ajax->form(array('type' => 'post','options' => array('model'=>'Comment','update' => $div, 'url' => array('controller' => 'comments','action' => 'save')))); ?>
  <input id="CommentPondcaseId" type="hidden" value="<?php echo $id; ?>" name="data[Comment][pondcase_id]">
  <input id="CommentDiv" type="hidden" value="<?php echo $div; ?>" name="data[Comment][div]">
  <input id="CommentStat" type="hidden" value="<?php echo $stat; ?>" name="data[Comment][stat]">
  <?php 
  IF($stat == 1) { echo'<textarea id="CommentComment" name="data[Comment][comment]" style="width: 500px; height: 60px;">'.$text.'</textarea>'; }
  ELSE { echo'<textarea id="CommentComment" name="data[Comment][comment]" style="width: 500px; height: 60px;"></textarea>'; }
  ?>
  <input type="submit" value="Save">
</form>